Skip to content

Fix answer search URL chat loading#316

Merged
BigSimmo merged 5 commits into
mainfrom
cursor/fix-answer-search-chat-d1ea
Jul 6, 2026
Merged

Fix answer search URL chat loading#316
BigSimmo merged 5 commits into
mainfrom
cursor/fix-answer-search-chat-d1ea

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Ensure answer-mode run=1 searches submit the URL query into the chat flow instead of rendering the answer home copy.
  • Add Playwright regression coverage for direct answer search URLs while the answer request is still in flight.
  • Merged latest origin/main, accepted the Bugbot Autofix guard for non-runnable answer searches, and formatted the final PR head.

Walkthrough

answer_search_url_recheck_merge_ready.mp4

Answer search URL recheck loading state

Verification

  • npm run format:check
  • npm run test:e2e:chromium -- tests/ui-smoke.spec.ts -g "answer search URL opens chat without the answer home copy"
  • npm run verify:cheap
  • npm run verify:ui when UI, routing, styling, browser behavior, reduced-motion, or forced-colors behavior changed
  • npm run check:production-readiness:ci
  • GitHub CI verify
  • GitHub CI ui-smoke
  • GitHub Secret Scan / Gitleaks
  • npm run verify:release before release or handoff confidence claims — not run; release gate is broader than this focused UI/routing fix.
  • npm run eval:retrieval:quality — not applicable; no retrieval/ranking/scoring behavior changed.
  • npm run eval:rag -- --limit 15 + npm run eval:quality -- --rag-only — not applicable; no answer generation or synthesis prompt changes.
  • npm run check:edge:functions locally — command exits cleanly but skips because Deno v2 is not installed in this VM; GitHub CI installs Deno and passed verify.

Clinical Governance Preflight

Not applicable; this change is limited to answer-mode URL submission and loading/home-state rendering.

Notes

  • Manual walkthrough confirms the answer home copy is absent and the submitted URL shows an active loading/chat state.
  • The PR is git-mergeable and checks are green; GitHub still reports mergeStateStatus: BLOCKED, likely due to repository merge policy/review requirements.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@supabase

supabase Bot commented Jul 6, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@BigSimmo
BigSimmo marked this pull request as ready for review July 6, 2026 06:16
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Indefinite answer loading skeleton
    • Gated submittedAnswerSearchActive on canRunSearch so answer-mode URLs that cannot auto-run show the answer home instead of a perpetual loading skeleton.

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit 7828552. Configure here.

Comment thread src/components/ClinicalDashboard.tsx Outdated
cursoragent and others added 4 commits July 6, 2026 06:19
…rch-chat-d1ea

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Gate submittedAnswerSearchActive on canRunSearch so auto-run URLs that
cannot start a search show the answer home instead of a perpetual loading
skeleton when the auto-run effect exits without calling ask.
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@BigSimmo
BigSimmo enabled auto-merge July 6, 2026 07:41
@BigSimmo
BigSimmo merged commit d421527 into main Jul 6, 2026
5 checks passed
@BigSimmo
BigSimmo deleted the cursor/fix-answer-search-chat-d1ea branch July 8, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants